package com.cherry.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(path = "/interceptor")
public class InterceptorController {

    @RequestMapping("/test")
    public String test(){
        System.out.println("interceptor方法执行了");

        return "user";
    }

}
